﻿#region Creditos

/* Autor: Edilberto Sánchez Forero	*/
/* Email: esanchezfo@gmail.com		*/
/* Licencia: LGPL, Software Libre	*/
/* País: Colombia, Bogotá			*/

#endregion

#region Librerias

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Net;

#endregion


namespace ESF.Peer.Configuration
{
	public class ServerInfoSection : ConfigurationSection
	{
		[ConfigurationProperty("name", IsRequired = true)]
        public string name
        {
            get
            { 
                return (string) this ["name"]; 
            }
            set
            { 
                this ["name"] = value; 
            }
        }
        
        
        [ConfigurationProperty("IPAddress", IsRequired = true)]
        public string IPAddress
        {
            get
            { 
                return (string) this ["IPAddress"]; 
            }
            set
            { 
                this ["IPAddress"] = value; 
            }
        }
        
        
        [ConfigurationProperty("port", IsRequired = true)]
        public int port
        {
            get
            { 
                return (int) this ["port"]; 
            }
            set
            { 
                this ["port"] = value; 
            }
        }
	}
}
